package com.example.rwq_test.controller;

import com.example.rwq_test.bean.LogBack;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO note
 *
 * @author renweiqiang
 * @version 1.0.0
 * @createTime 21/04/22
 */
@RequestMapping("other")
@RestController
public class OtherController {
    private Logger logger = LoggerFactory.getLogger(LogBackController.class);

    @GetMapping("getOther")
    public LogBack getOther(){
        logger.info("receiver getOther message...");
        return new LogBack(1, "getOther", "getOther 1");
    }
}
